<%-- 
    Document   : rimuoviPren
    Created on : 31-ago-2012, 16.25.23
    Author     : Rosario Salone
    Pagina per la rimozione di una prenotazione
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HomeTeatre - Prenota evento -</title>
<style type="text/css">
<!--
.Stile3 {
	font-family: "Comic Sans MS", "Monotype Corsiva";
	font-size: 36px;
	color: #FFFFFF;
}
.Stile6 {
	font-size: 36;
	color: #FFFFFF;
}
.Stile16 {color: #99FFFF; font-family: "Comic Sans MS", "Monotype Corsiva"; }
.Stile18 {color: #FFFF00; font-family: "Comic Sans MS", "Monotype Corsiva"; }
-->
</style>
</head>

<body>
<table width="804" height="96" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th width="100" scope="col"><img src="immagini/posta052.gif" width="64" height="77" /></th>
    <th width="700" scope="col"><a href="index.jsp"><img src="immagini/httitolo.jpg" width="700" height="100" /></a></th>
    
  </tr>
</table>

<table width="804" border="0" cellpadding="0" cellspacing="0" bgcolor="#0066CC">
  <tr>
    <th width="100" height="181" border="10" rowspan="9" valign="top" scope="col">
        
        <%
        
          if (session.getAttribute("password")==null || session.getAttribute("login")==null){ 


      %>     
                
                <a href="accediUt.jsp"><img src="immagini/Accedi.jpg" width="103" height="50" /></a>
        <a href="registraUtente.jsp"><img src="immagini/Registrati.jpg" width="103" height="50" /></a>
        
        
            
            
        <%} else{
                if (session.getAttribute("verifica")!=null){     
                %>
                <img src="immagini/AreaAmmini3.jpg" width="103" height="50" />
                <a href="aggiungiEvento.jsp"><img src="immagini/AggEv.jpg" width="103" height="50" /></a>
            <a href="nonImplementato.jsp"><img src="immagini/RimUt.jpg" width="103" height="50" /></a>
            <a href="cancellaUtente.jsp"><img src="immagini/CanUt.jpg" width="103" height="50" /></a>

        
        <%}else
        {                                          
         %> 
              <img src="immagini/AreaGest.jpg" width="103" height="50" />
              <a href="accessoPrenot.jsp"><img src="immagini/prenotazioni_1.jpg" width="103" height="50" /></a>
                <a href="modificaUtente.jsp"><img src="immagini/ModificaD.jpg" width="103" height="50" /></a>
            
           
            
            <a href="cancellaUtente.jsp"><img src="immagini/CanUt.jpg" width="103" height="50" /></a>                        
                  <%}
                
      
                %> 
                
                              &nbsp;&nbsp;
          <form id="form1" name="form1" method="post" action="Controller">
          <input type="hidden" value="logOut" name="provenienza" />
          <input type="submit" value="log out" name="logOut" />
          
          </form>
<%} %>

     </th>


    <th rowspan="6" align="center" valign="top" scope="col"><form id="form1" name="form1" method="post" action="Controller">
      <label>        </label>
  
      <p class="Stile3">... Conferma prenotazione ...</p>
      <br/>
      <p class="Stile6">Stai per prenotare l'evento:</p>
      <p class="Stile6">&nbsp;</p>
      <table width="600" border="1" cellspacing="0" cellpadding="0" valign="top">
          <tr>
            <th width="59" height="24" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Codice</span></th>
            <th width="83" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Nome</span></th>
            <th width="69" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Data</span></th>
            <th width="62" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Ora</span></th>
            <th width="68" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Prezzo (a biglietto)</span></th>
            <th width="76" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Luogo</span></th>
			<th width="61" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Viaggio</span></th>
			<th width="104" align="center" valign="middle" bordercolor="#FFFFFF" scope="col"><span class="Stile18">Costo Viaggio </span></th>
          </tr>
          <tr>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=session.getAttribute("scelta")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=request.getAttribute("nome")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=request.getAttribute("data")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=request.getAttribute("ora")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=request.getAttribute("prezzo")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><%=request.getAttribute("luogo")%></span></td>
            <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80"><input type="checkbox" name="viaggio" value="ON"
                                                                <%if ((request.getAttribute("viaggio")).equals("no")) {%> disabled="disabled" <%}%> /></span></td>
			  <td align="center" valign="middle" bordercolor="#FFFFFF"><span class="Stile80">
                                  <%if ((request.getAttribute("prv"))!=null) 
                                  { String pr=  ""+request.getAttribute("prv");
  
                                    session.setAttribute("prv", pr);
                                    
                                            %><%=pr%>  <%}
                                                  else{%>0<%}                            
                                                                %></span></td>
          </tr>
        </table>
        <p class="Stile6">&nbsp; </p>
        <p class="Stile6">Numero biglietti: &nbsp;
        <select name="numeroBiglietti">
         <option>1</option>
         <option>2</option>
         <option>3</option>
         <option>4</option>
        </select></p>
        <input type="hidden" name="provenienza" value="prenota" />
        <p><input type="submit" value="Conferma Prenotazione" name="pren" /></p>
        
      </form>
        
    </th>
 
  </tr>
  <tr>
      <th width="102" height="600" rowspan="6" valign="top" scope="col"><img src="immagini/ricerca.jpg" width="100" height="600" /></th>
  </tr>
</table>
</body>
</html>

